{if $admin->isLoggedIn()}
<h2>Admin here :) </h2>
{else}
<form method="post">
    <table style="border:0px;width:250px;" align="center">
        <tr>
            <td align="center" colspan="2"><b>Admin Login Here:</b></td>
        </tr>
        <tr>
            <td>Username:</td>
            <td> <input type="text" name="username" size="20" /></td>
        </tr>
        <tr>
            <td>Password:</td>
            <td> <input type="password" name="password" size="20" /></td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <input type="submit" value=" Log me in " />
            </td>
        </tr>
    </table>
</form>
{/if}